/*
 * @Author: your name
 * @Date: 2021-03-17 16:03:46
 * @LastEditTime: 2021-03-18 14:07:54
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \src\js\header.js
 */
define(['jquery'], () => {
    class Header {
        constructor() {
            this.init();
        }
        init() {
            $('#top').load('/html/header.html', () => {
                // 顶部 --> 游戏导航
                $('.yxdh').mouseover(() => {

                    $('.top_list').css('display', 'block');
                });
                $('.top_list').mouseover(() => {
                    $('.top_list').css('display', 'block');
                });
                $('.top_list').mouseout(() => {
                    $('.top_list').css('display', 'none');
                })

            })
        }
    }
    return new Header()
})